package com.woniu.airent.mapper;

import com.woniu.airent.dto.HouseDto;
import com.woniu.airent.entity.House;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PublishHouseMapper {

    List<House> publishHouse(@Param("content") String content);

    HouseDto selectHouseById(@Param("hid") Integer hid);
}
